home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / winter_challenge.swf / scripts / frame_45 / DoAction.as
Text File  |  2011-08-19  |  2KB  |  59 lines

  1. function startLevelLoop()
  2. {
  3.    _root.level1_ice.start(0,9999);
  4. }
  5. _quality = "HIGH";
  6. _root.ATVclip.curveSpeed = temp_curveSpeed;
  7. _root.ATVclip.maxspeed = temp_maxspeed;
  8. _root.ATVclip.reverseSpeed = temp_reverseSpeed;
  9. _root.ATVclip.breakpower = temp_breakpower;
  10. _root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
  11. _root.ATVclip.acceleration = temp_acceleration;
  12. redTire_cheat = 0;
  13. userScore_const = score;
  14. _root.ATV_keyBlock = 1;
  15. _root.gameInProgress = 0;
  16. _root.hitpoints = 100;
  17. _root.ATV_statsBar.resetBar();
  18. track_1_grafik.gotoAndStop(1);
  19. track_1.gotoAndStop(1);
  20. eisplatteShaddow._visible = 1;
  21. courseDisplay = 2;
  22. course = "course2";
  23. lap = 1;
  24. lapCheatflag_A = 0;
  25. lapCheatflag_B = 0;
  26. lapCheatflag_C = 0;
  27. _root.temp_global_landmark_count = _root.global_landmark_count;
  28. _root.landmark_count = 0;
  29. activeLandmark = _root.landmark_1;
  30. i = 1;
  31. while(i <= 11)
  32. {
  33.    thisClip = eval("_root.landmark_" + i);
  34.    if(thisClip == activeLandmark)
  35.    {
  36.       activeLandmark.gotoAndPlay(1);
  37.    }
  38.    else
  39.    {
  40.       thisClip.gotoAndStop(1);
  41.    }
  42.    thisClip.swapDepths(760 + i);
  43.    i++;
  44. }
  45. _root.clock.gotoAndStop(1);
  46. _root.clock.clockInlay.min = "0";
  47. _root.clock.clockInlay.sec1 = "2";
  48. _root.clock.clockInlay.sec2 = "5";
  49. trace("accvar1: " + _root.engineSound.accvar);
  50. stopAllSounds();
  51. myStopAllSouds();
  52. trace("accvar2: " + _root.engineSound.accvar);
  53. updateAfterEvent();
  54. _root.global_ENTRANCE.start(0,0);
  55. _root.engineSound.myAction = "brk";
  56. help.swapDepths(880);
  57. help.gotoAndStop(2);
  58. stop();
  59.